<table class="lined-table text">
	<tr>
		<th>Rank</th>
		<th width="20%">Title</th>
		<th>Description</th>
		<th width="10%">Facilitators</th>
	</tr>
	<g:each in="${workshops}" var="workshop" status="i">
		<g:set var="workshopRequest" value="${requests.find{it.workshop == workshop}}" />
		<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
			<td class="center">
				<g:set var="inputName" value="${'workshop.' + workshop.id}" />
				<input class="center" type="text" size="2" maxlength="2" required="" name="${inputName}" value="${workshopRequest?.rank}" />
			</td>
			<td>
				<span>
					${workshop.title}
				</span>
			</td>
			<td>
				<p class="article">${workshop.description}</p>
			</td>
			<td>
				<span>
					<g:set var="lastIndex" value="${workshop.facilitators?.size()-1}" />
					<g:each in="${workshop.facilitators}" var="facilitator" status="j">
						${facilitator.first} ${facilitator.last}${(j!=lastIndex) ? ', ' : ''}
					</g:each>
				</span>
			</td>
		</tr>
	</g:each>
</table>